//
//  JQFYChooseCityViewController.m
//  JQFY
//
//  Created by apple on 2017/9/6.
//  Copyright © 2017年 yannis. All rights reserved.
//

#import "JQFYChooseCityViewController.h"

@interface JQFYChooseCityViewController ()

@end

@implementation JQFYChooseCityViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIImage *bgImg = [UIImage imageNamed:@"playerbg"];
    self.view.layer.contents = (id)bgImg.CGImage;
    self.navigationItem.title = @"城市选择";
    UIFont *font = [UIFont fontWithName:@"Verdana-Bold" size:15];
    NSDictionary *dic = @{NSFontAttributeName:font,
                          NSForegroundColorAttributeName: [UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes =dic;
    
    UIImage *leftImg = [UIImage imageNamed:@"ticketInfo_back"];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:leftImg style:UIBarButtonItemStylePlain target:self action:@selector(didClickBack)];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

//点击返回键
-(void)didClickBack
{
    [self.navigationController popViewControllerAnimated:YES];
}
@end
